import request from '@/utils/request'

/* 节水管理机构及人员队伍建设情况台账表 */
// 列表查询
const orgAndTeamBuildingList = function (params = {}) {
  return request({
    url: '/zy-api/api/swTeamcon/findList',
    method: 'post',
    data: params
  })
}

// 新增
const addOrgAndTeamBuilding = function (params = {}) {
  return request({
    url: '/zy-api/api/swTeamcon/add',
    method: 'post',
    data: params
  })
}

// 修改
const editOrgAndTeamBuilding = function (params = {}) {
  return request({
    url: '/zy-api/api/swTeamcon/update',
    method: 'post',
    data: params
  })
}

// 删除
const delOrgAndTeamBuilding = function (params = {}) {
  return request({
    url: '/zy-api/api/swTeamcon/delete',
    method: 'post',
    data: params
  })
}

// 审核
const auditOrgAndTeamBuilding = function (params = {}) {
  return request({
    url: '/zy-api/api/swTeamcon/Review',
    method: 'post',
    data: params
  })
}

export {
  orgAndTeamBuildingList,
  addOrgAndTeamBuilding,
  editOrgAndTeamBuilding,
  delOrgAndTeamBuilding,
  auditOrgAndTeamBuilding
}